import imp
from django.urls import path
from rbac.course import CourseData

from rbac.role import Role
from .views import *
from rbac.depart import Depart

urlpatterns = [
    path("login/account",Login.as_view()),
    path("login/outLogin",Logout.as_view()),### 退出登录
    path("currentUser",CurrentUser.as_view()),
    ### 用户列表数据
    # path("user/list",UserList.as_view()),
    path("users",Users.as_view()),
    path("depart/list",Depart.as_view()),

    ### 角色相关信息
    path("roles",Role.as_view()),
    
    #### 课程体系数据
    path("course",CourseData.as_view())
]